* {
  margin: 0 auto;
  padding: 0;
}
div {
  box-sizing: border-box;
}
body {
  background-color: #f5f5f5;
}
/* 头部 */
header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  /* 盒子居中对齐 */
  width: 100%;
  height: 50px;
  text-align: center;
  line-height: 70px;
  max-width: 768px;
  min-width: 320px;
  font-size: 16px;
  font-weight: 700;
  background-color: #ffffff;
}
/* 导航栏 */
.nav {
  position: fixed;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 768px;
  min-width: 320px;
  height: 35px;
  line-height: 35px;
  font-size: 14px;
  top: 50px;
  left: 50%;
  transform: translate(-50%);
  background-color: #ffffff;
}
.nav input {
  position: relative;
  height: 0;
}
.nav label {
  flex: 1;
  text-align: center;
}
.nav label:hover {
  cursor: pointer;
}
.nav label:nth-child(8) {
  margin-right: 20px;
}
/* .nav {
    input:nth-child(1):checked{
        &:after{
            position:fixed ;
            bottom:0px;
            left: 11.5%;
            content: "";
            display: block;
            width: 15px;
            height: 2px;
            border-radius: 1px;
            background-color: red;
        }
    }
}
.nav {
    input:nth-child(3):checked{
        &:after{
            position:fixed ;
            bottom:0px;
            left: 35.5%;
            content: "";
            display: block;
            width: 15px;
            height: 2px;
            border-radius: 1px;
            background-color: red;
        }
    }
}
.nav {
    input:nth-child(5):checked{
        &:after{
            position:fixed ;
            bottom:0px;
            left: 59.5%;
            content: "";
            display: block;
            width: 15px;
            height: 2px;
            border-radius: 1px;
            background-color: red;
        }
    }
}
.nav {
    input:nth-child(7):checked{
        &:after{
            position:fixed ;
            bottom:0px;
            right: 16.5%;
            content: "";
            display: block;
            width: 15px;
            height: 2px;
            border-radius: 1px;
            background-color: red;
        }
    }
} */
/* 订单 */
.order {
  position: fixed;
  display: flex;
  flex-wrap: wrap;
  top: 85px;
  width: 100%;
  left: 50%;
  transform: translate(-50%);
  max-width: 768px;
  min-width: 320px;
  margin-top: 15px;
}
.order .orderitem {
  flex: 90%;
  height: 180px;
  border-radius: 15px;
  background-color: #ffffff;
  margin: 15px 15px;
}
/* 订单头部 */
.itemhead {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
.itemhead-l {
  position: relative;
  flex: 40%;
  height: 35px;
  line-height: 35px;
  font-size: 15px;
  padding-left: 15px;
}
.itemhead-l span {
  position: absolute;
  left: 60px;
}
.itemhead-l::before {
  position: absolute;
  text-align: left;
  content: "";
  width: 35px;
  height: 35px;
  border-radius: 20px;
  background: url(../image/logo.png) no-repeat;
}
.itemhead-r {
  flex: 30%;
  height: 35px;
  line-height: 35px;
  color: red;
  font-size: 15px;
  text-align: right;
  padding-right: 15px;
}
/* .orderitem > a{
    display: block;
    height: ;
    width: 100%;
} */
.itempic ul {
  display: flex;
  /* justify-content: left; */
}
.itempic li {
  flex: 20%;
  /* height: 60px; */
  /* border-radius: 15px; */
  overflow: hidden;
}
.itempic li:nth-child(1) {
  margin-left: 10px;
}
/* 付款金额 */
.itemmon {
  margin-top: 10px;
  text-align: right;
  font-size: 14px;
  height: 15px;
  line-height: 15px;
}
.pic {
  width: 80%;
  margin-left: 10px;
  height: 60px;
  border-radius: 15px;
  background-color: brown;
}
.itempic a {
  display: flex;
  flex-direction: column;
}
.complete {
  height: 25px;
  width: 60px;
  line-height: 23px;
  text-align: center;
  border: 1px solid #000;
  border-radius: 10px;
  margin-top: 5px;
  margin-right: 10px;
  /* background-color: brown; */
}
